package priv.yiyuan.example.design.visitor;

/**
 * 图像数据
 * <p>
 * 数据元素实现者类
 *
 * @author YiYuan
 * @data 2025/8/4
 * @apoNote
 */
public class ImageData implements DataElement {

    private String imageUrl;

    public ImageData(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    @Override
    public void accept(DataVisitor visitor) {
        visitor.visit(this);
    }

}
